﻿using System;
using Bank.Operations;

namespace Bank.Services
{
    public class SimpleOperationLogger : IOperationLogger
    {
        public void LogOperation(IOperation operation)
        {
            var t = operation.GetType();

            Console.WriteLine(t.Name + " operation executed");
        }
    }
}
